package xyz.scootaloo.mono.data.store

/**
 * @author flutterdash@qq.com
 * @since 2021/9/24 18:08
 */

enum class SexOption(val code: Int, val label: String, val mark: String) {
    MALE(1, "男", "m"),
    FEMALE(0, "女", "f"),
    UNKNOWN(2, "未知", "u");

    companion object {
        fun list(): List<SexOption> = listOf(MALE, FEMALE, UNKNOWN)
    }
}

enum class UserStatus(val code: Int, val label: String, val desc: String) {
    ENABLE(1, "正常", "默认的状态标记"),
    LIMITATION(2, "受限", "受限的状态标记"),
    DISABLE(3, "受限", "受限的状态标记");

    companion object {
        fun list(): List<UserStatus> = listOf(ENABLE, LIMITATION, DISABLE)
    }
}
